import { createApp } from 'vue'
import App from './App.vue'
// import router,{addDynamicRoutes} from "./router/router";
import router from "./router/router";
import i18n from './i18n';

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './assets/iconfont.css'
import "./style/base.css"

const app = createApp(App);
app.use(i18n)
app.use(router)
// 动态加载路由
// addDynamicRoutes()
app.use(ElementPlus)
app.mount('#app')
